//
//  AboutUsViewController.m
//  HumorousSript
//
//  Created by 孟令博 on 15/6/22.
//  Copyright (c) 2015年 李欢. All rights reserved.
//

#import "AboutUsViewController.h"
#import "Masonry.h"
#define LEFT self.view.frame.size.width / 2
#define Top self.view.frame.size.height / 2
#define WIDTH self.view.frame.size.width - 100
#define HEIGHT self.view.frame.size.height - 200



@interface AboutUsViewController ()

@end

@implementation AboutUsViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self.view setBackgroundColor:[UIColor whiteColor]];
    UIImageView *image = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, [UIScreen mainScreen].bounds.size.width, [UIScreen mainScreen].bounds.size.height)];
    image.image = [UIImage imageNamed:@"background.jpg"];
    [self.view addSubview:image];
    
    
    
    UILabel *userLable = [[UILabel alloc] init];
    [userLable setBackgroundColor:[UIColor colorWithRed:0.816 green:1.000 blue:0.205 alpha:1.000]];
    userLable.font = [UIFont systemFontOfSize:14];
    
    [image addSubview:userLable];
    [userLable mas_makeConstraints:^(MASConstraintMaker *make) {
        make.center.equalTo(self.view);
        
//        make.left.equalTo(self.view.mas_left).offset(LEFT);
//        make.top.equalTo(self.view.mas_top).offset(Top);
        make.width.mas_equalTo(WIDTH);
        make.height.mas_equalTo(HEIGHT);
    }];
//    userLable.text = @"感谢您对本程序的支持, 我们会对该软件继续完善和改进.\r\n\r\n\r\n邮箱 :  1019281642@qq.com\n        337334793@qq.com\n\n\n开发人员 : LiHuan\n          Meng\n";

    
    
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
